<?php

include_once($GLOBALS['cfgPaths']['lib'].'model2/Model2.o.inc.php');

$model = new Model2($env, array('actionParamId' => 'action'), $GLOBALS['cfgPaths']['lib'].'cms/shop/', 'order/OrderDefaultAction','order/OrderDefaultErrorAction');

$model->addActions(array('pwdRetr' => 'order/OrderPasswordRetrievalAction', 
    'login' => 'order/OrderLoginAction', 
    'billaddr' => 'order/OrderBillAddressAction',
    'paymentDelivery' => 'order/OrderPaymentDeliveryAction',
    'payBank' => 'order/OrderPaymentNoticeBankDataAction',
    'finish' => 'order/OrderFinishAction'));
    
$model->addFilters(array($GLOBALS['cfgPaths']['lib'].'model2/filter/QueryStringActionParamFilter',
    $GLOBALS['cfgPaths']['lib'].'model2/filter/ActionDispatcherFilter'));  
    
$model->start();

?>